package com.atguigu.result;

import lombok.Getter;

@Getter
public enum ResultCodeEnum {
    SUCCESS(200,"成功"),
    FAIL(201,"失败"),
    LOGIN_ERROR(208,"登录失败"), PERMISSION(208,"没有权限" );

    Integer code;
    String message;

   private ResultCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
